<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" 
	xmlns:c="http://java.sun.com/jstl/core" xmlns:h="http://java.sun.com/jsf/html"
	xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns:t="http://myfaces.apache.org/tomahawk">

<c:set var="ctx" value="#{facesContext.externalContext.requestContextPath}"/>
	
<f:loadBundle var="messages" basename="messages"/>

<ui:include src="/WEB-INF/templates/head.xhtml" />

<body>
<div id="page">

    <div id="header" class="clearfix">
    	<ui:insert name="header">
			<ui:include src="/WEB-INF/content/header.xhtml" />
		</ui:insert>
    </div>
    
	<div id="content">
	    <div id="nav">
	    	<ui:insert name="nav">
	    		<ui:include src="/WEB-INF/content/navigation.xhtml" />
	    	</ui:insert>
	    </div><!-- end nav -->
		
		<div id="main">
			<h1><ui:insert name="pageTitle">Content</ui:insert></h1>
			<ui:insert name="content">
				Default content
			</ui:insert><!-- end content -->
		</div>
		
		<div id="additional">
			<ui:insert name="additional">
				<ui:include src="/WEB-INF/content/resources.xhtml" />
			</ui:insert>
        </div>
	</div>
	
	<div id="footer">
		<ui:insert name="footer">
			<ui:include src="/WEB-INF/content/footer.xhtml" />
		</ui:insert>
	</div>	

</div> <!-- end page -->
</body>
</html>